import request from '@/utils/request'

export function listProductMessage(query) {
  return request({
    url: '/product/message/selectList',
    method: 'get',
    params: query
  })
}

export function selectByName(data) {
  return request({
    url: '/product/message/selectListByName',
    method: 'post',
    data:data
  })
}

export function editMessage(data) {
  return request({
    url: '/product/message/editMessage',
    method: 'post',
    data:data
  })
}

export function delMessage(data) {
  return request({
    url: '/product/message/delMessage',
    method: 'post',
    data:data
  })
}

export function addProduct(data) {
  return request({
    url: '/product/message/addProduct',
    method: 'post',
    data:data
  })
}

